x11: Store the GLX drawable in the surface
authorBenjamin Otte <otte@redhat.com>
Tue, 29 Jun 2021 21:45:50 +0000 (23:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2021 14:23:56 +0000 (16:23 +0200)
commit215f79285119e861810e794f16dc17c301c06f8f
tree9039f87178cbac02b88dc5907a90ba390e3a700e
parent1c55b32879e8eb4a6aa467ea4be688db995952c4
x11: Store the GLX drawable in the surface

Also, stop using a dummy window for unattached GL contexts and instead
use the display's leader surface.

Again, this mirrors EGL.
gdk/x11/gdkglcontext-glx.c
gdk/x11/gdkglcontext-x11.h
gdk/x11/gdksurface-x11.c
gdk/x11/gdksurface-x11.h